package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.CmUserPatient;
import com.zshan.clinic.database.model.CmUserPatientExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmUserPatientMapper extends SuperMapper {
    long countByExample(CmUserPatientExample example);

    int deleteByExample(CmUserPatientExample example);

    int deleteByPrimaryKey(Long cmPatientId);

    int insert(CmUserPatient row);

    int insertSelective(CmUserPatient row);

    List<CmUserPatient> selectByExample(CmUserPatientExample example);

    CmUserPatient selectByPrimaryKey(Long cmPatientId);

    int updateByExampleSelective(@Param("row") CmUserPatient row, @Param("example") CmUserPatientExample example);

    int updateByExample(@Param("row") CmUserPatient row, @Param("example") CmUserPatientExample example);

    int updateByPrimaryKeySelective(CmUserPatient row);

    int updateByPrimaryKey(CmUserPatient row);
}